CuDoubleSidedScannerC  1.22
ScanParametersStruct Struct Reference

Data Fields

ScanSide wantedScanSide
 Scan side: front, back or both.
 
ImageResolution dwResolution
 Image resolution.
 
ImageColorDepthType imageColorDepth
 Image color depth.
 
ImageFileFormat imageOutFormat
 Output image file format.
 
DWORD dwJpgQuality
 Output image quality. Allowed values from 1 (minimum) to 100 (maximum). Default value:80. More...
 
BOOL bCropDeskewing
 If TRUE, a software crop and deskewing operation will be performed on the scanned image. If FALSE, the whole image will be returned to the user. Only supported by DeviceModel::A4_Scanner and DeviceModel::A6_PRO_Scanner.
 
BOOL bHardwareDeskewing
 If TRUE, the scanner automatically performs an hardware deskewing operation on the paper form (advised). If FALSE, the scanner doesn't perform an hardware deskewing operation, and the paper form could be askew loaded (not advised, only for specific application).
 
FormStanding formStandingAfterScan
 Select the behaviour of the paper sheet after scan. Select whether to return backward to the user, or to push it over the scanner, or to keep it hold (waiting for a following backward or forward movement command).
 
DoubleSheetDetectOpt doubleSheetDetection
 To set whether to enable (advised) or disable double/multiple sheet detection. If Off, the scanner doesn't detect multiple paper sheet loading. Otherwise, the scanner uses ultrasonic sensor for double/multiple paper sheet loading detection (advised).
 
PaperHeldBackDetectionOpt paperHeldBackDetection
 Set whether to stop the scan job if the user holds back the paper, or not. Advised value: PaperHeldBackDetectionOpt::HBDetect_On. Only for DeviceModel::A6_Scanner and DeviceModel::A4_216_Void_Scanner.
 
int nBrightness
 Indicates a value for brightness. Default value is 0. The brightness can be both positive (brighter image) or negative (darker image). The minimum value is -20, the maximum value is +30. For values out of range, the default value will be set. Only for DeviceModel::A4_Scanner and DeviceModel::A6_PRO_Scanner.
 
BOOL bKeepLastImageInMemory
 
BYTE nRetryMovementBeforeStartScan
 If > 0, Indicates the number of movement to do before start the scan. Default value is 0.
 
BYTE reserved [115]
 Reserved fot future development. Please set all buffer bytes value to 0. Do not use.
 

Detailed Description

Scan parameters. Parameters for scanned image. These parameters will influence the way the image will be scanned.

Field Documentation

◆ bKeepLastImageInMemory

BOOL ScanParametersStruct::bKeepLastImageInMemory

Indicates wheter the images data are kept in memory after a GetLastScanImageData, or they are automatically clear. If FALSE, image data is clear after GetLastScanImageData, so it is not possible to call GetLastScanImageData more times for the same scan job. If TRUE, image data are available also whenGetLastScanImageData is called several times. If TRUE, the following ClearImagesData, or DeInitLibrary or StartScan will clear images data.

Referenced by ScanParametersToStringA().

◆ dwJpgQuality

DWORD ScanParametersStruct::dwJpgQuality

Output image quality. Allowed values from 1 (minimum) to 100 (maximum). Default value:80.

Warning
Only for ImageFileFormat::Jpeg format.

Referenced by ScanParametersToStringA().